/*----------------------------------------------------------------------------
 * Debug
 * ---------------------------------------------------------------------------
 * Date      : 2011-10-26
 * Author    : naiyumie
 * ---------------------------------------------------------------------------
 * USAGE
 * ---------------------------------------------------------------------------
 *
 * ---------------------------------------------------------------------------
 * EXAMPLE
 * ---------------------------------------------------------------------------
 *
 *----------------------------------------------------------------------------
 */
(function($){
	$.fn.Debug = function(param){
		var dns;
		dns=location.href;
		dns=dns.split("//");
		dns="http://"+dns[1].substr(0,dns[1].indexOf("/"));
		var locationURL = dns;

		if($.browser.msie && $.browser.version.substring(0, 1) === "6") {
			return false;
		} else if($.browser.msie && $.browser.version.substring(0, 1) === "7"){
			return false;
		} else {
			try {
				console.log("["+locationURL+"]$.fn.Debug>> " + param + " <<");
				return;
			} catch (e) {
				return;
			}
		}

	}
})(jQuery);